package com.yfapp.platform.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yfapp.platform.dao.AdminDao;
import com.yfapp.platform.entity.Admin;
import com.yfapp.platform.service.AdminService;

@Service("adminService")
public class AdminServiceImpl implements AdminService{
	@Autowired
	private AdminDao adminDao;

	/**
	 * 登陆
	 */
	public Admin login(Admin admin){
		return adminDao.login(admin);
	}

	public List<Admin> getAdminList() {
		return adminDao.getAdminList();
	}
}
